/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.WxGoods;
import com.jeeplus.modules.web.mapper.WxGoodsMapper;

/**
 * 奖品管理Service
 * @author rongjie
 * @version 2017-09-04
 */
@Service
@Transactional(readOnly = true)
public class WxGoodsService extends CrudService<WxGoodsMapper, WxGoods> {

	public WxGoods get(String id) {
		return super.get(id);
	}
	
	public List<WxGoods> findList(WxGoods wxGoods) {
		return super.findList(wxGoods);
	}
	
	public Page<WxGoods> findPage(Page<WxGoods> page, WxGoods wxGoods) {
		return super.findPage(page, wxGoods);
	}
	
	@Transactional(readOnly = false)
	public void save(WxGoods wxGoods) {
		super.save(wxGoods);
	}
	
	@Transactional(readOnly = false)
	public void delete(WxGoods wxGoods) {
		super.delete(wxGoods);
	}
	
}